package com.haidechizi;

/**
 * Hello world!
 */
public class App {

    public int minMun(int num) {
        int count = 0;
        int[] ints = new int[]{25, 10, 5, 1};
        for (int value : ints) {
            count += num / value;
            num = num % value;
            if (value == 0) {
                break;
            }
        }
        return count;
    }

    public static void main(String[] args) {
        System.out.println(new App().minMun(41));
    }
}
